-- GENERATED SPELL FOR [Giant Moss Creeper] --


function spell0_2349(pUnit, Event) --@Corrosive Poison,n/a--
pUnit:FullCastSpellOnTarget(3396,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2349', 31500, 1)
end

function Sorts_2349(pUnit, Event)
local choix_sorts_2349 = math.random(0, 0)
if choix_sorts_2349 == 0 then
pUnit:RegisterEvent('spell0_2349', 1, 1)
end
end

function mob2349_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2349', math.random(1500, 3000), 1)
end

function mob2349_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2349_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2349_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2349, 1, 'mob2349_Action')
RegisterUnitEvent(2349, 2, 'mob2349_Leave')
RegisterUnitEvent(2349, 3, 'mob2349_Kill')
RegisterUnitEvent(2349, 4, 'mob2349_Die')
